<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="fy.bean.*,java.util.*,java.io.*"%>
<%
	request.setCharacterEncoding("utf-8");
	int id = Integer.parseInt(request.getParameter("id"));
	Admin admin = new Admin();
	admin = admin.findAdminById(id);
%>



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript" src="js/a.js"></script>
<script src="js/b.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>新增用户</title>
<style type="text/css">
<!--
body, td, th {
	font-size: 12px;
	color: #666;
}

body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-image: url(img/b.gif);
	background-repeat: repeat-x;
	background-color: #95d0ee;
}

* {
	margin: 0px;
	padding: 0px;
}

#bg {
	width: 1009px;
	height: 700px;
	background-image: url(img/z.jpg);
	background-repeat: no-repeat;
	margin: 0px auto;
	margin-top: 2px;
}

#login {
	width: 300px;
	height: 150px;
	padding-top: 270px;
	padding-left: 520px;
}

#ts {
	color: #F00;
}
-->
</style>
</head>

<body>
	<h1>修改用户</h1>
	<div id="bg">
		<div id="login">
			<form method="post" name="frm" id="frm" action="doadmin/doupdata.jsp">
				<table width="300" border="0" cellspacing="0" cellpadding="0">
				
					<tr>
						<td height="20"><input type="text" name="id"
							id="user_code" value="<%=admin.getId()%>"
					style="width: 200px; height: 16px; display: none;" /></td>
					</tr>

					<tr>
						<td height="25"
							style="font-size: 14px; font-weight: bold; color: #000;">用户名：</td>
					</tr>
					<tr>
						<td height="20"><input type="text" name="username"
							id="user_code" value="<%=admin.getUsername() %>"
							readonly="readonly" style="width: 200px; height: 16px;" /></td>
					</tr>
					<tr>
						<td height="25"
							style="font-size: 14px; font-weight: bold; color: #000;">密码：</td>
					</tr>
					<tr>
						<td height="20"><input type="password" name="password"
							id="user_pwd" value="<%=admin.getPassword()%>"
							style="width: 200px; height: 16px;" /></td>
					</tr>
					<tr>
						<td height="55">
							<table width="300" border="0" cellspacing="0" cellpadding="0">
								<tr>
									<td width="105" height="55" align="left" valign="middle"
										id="ts"><span id="msgBox" align="right"></span></td>
									<td width="195" height="55" valign="middle" id="ts"><input
										name="input" type="image" src="img/a.gif" width="100"
										height="35" /></td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
			</form>
		</div>
	</div>
</body>
</html>
